package org.xq.softcup.mq.registry;

import java.util.Map;
import java.util.Set;
import java.util.TreeSet;

/**
 * 服务注册抽象类
 */
public abstract class ServiceRegistry {
    public abstract void start(Map<String, String> paramMap);

    public abstract void stop();

    public abstract boolean registry(Set<String> paramSet, String paramString);

    public abstract boolean remove(Set<String> paramSet, String paramString);

    public abstract Map<String, TreeSet<String>> discovery(Set<String> paramSet);

    public abstract TreeSet<String> discovery(String paramString);
}
